package com.dld.coupon.view;

import android.view.View;

import com.dld.protocol.json.Coupon;
import com.dld.protocol.json.CouponDetail;
import com.dld.protocol.json.JsonBean;

import java.util.List;

public abstract class CouponDownLoadAdapter extends JsonBeanDownLoadAdapter {
	protected int view_type;
	protected boolean isStore;

	public CouponDownLoadAdapter(boolean paramBoolean,
			DownloadListView paramDownloadListView, Coupon paramCoupon,
			int view_type) {
		super(paramDownloadListView, paramCoupon);
		this.isStore = paramBoolean;
		this.view_type = view_type;
	}

	public View getView(int paramInt) {
		return couponDetailToView((CouponDetail) this.bean.getDetails().get(
				paramInt), view_type);
	}
}
